const Mock = require("mockjs");
const data = Mock.mock({
  "banners|5": ["@image(120x80,@color,banner)"],
  "menus|10": [
    {
      id: "@id",
      title: "@ctitle(2)",
      image: "@image(50x50,@color,menu)",
    },
  ],
  "list|100": [
    {
      id: "@id",
      "image|3-5": ["@image(120x80,@color,image)"],
      title: "@ctitle",
      desc: "@cword(10,30)",
      "price|10-1000": 1,
      "messageList|3-10": [
        {
          id: "@id",
          nickname: "@cname",
          content: "@cword(10,30)",
          avator: "@image(50x50,@color)",
          createDateTime: "@datetime",
        },
      ],
    },
  ],
});
module.exports = data;
